package com.example.helper;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class AsnyHelper {

    @Async("commonExecutor")
    public void testASNY() throws InterruptedException {
        Thread.sleep(10000);
        log.info("teest——————————————————————————————————————————结束");
    }
}
